package com.coment.message;


import lombok.*;

/// 伤害消息item
@ToString
@NoArgsConstructor
@EqualsAndHashCode(of = "rolesId")
@Getter
@Setter
public class HurtInfo {
    /// 伤害来源
    public String sourceId;

    /// 被攻击的角色id
    public String rolesId;

    /// 是否被闪避
    public boolean dodged;

    /// 是否被暴击
    public boolean crit;

    ///  是否死亡
    public boolean dead;

    /// 伤害
    public double hurt;

    /// 附加伤害
    public double addHurt;

    /// hp
    public double hp;

    /// 护盾值
    public double shield;
}
